package edu.ustb.service.user;

import edu.ustb.domain.user.UserAddress;
import edu.ustb.domain.user.Users;

import java.util.List;

public interface UsersService {
    List<Users> findAll();

    Users login(String ident, String passWord);

    int register(Users users);

    List<UserAddress> findAddress(String userPhone);

    boolean insert(UserAddress address);
}
